<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <a href="https://chengbenchao.gitee.io/interview/#/pages/html-css?id=_34%e3%80%81iframe-%e6%9c%89%e5%93%aa%e4%ba%9b%e4%bc%98%e7%bc%ba%e7%82%b9%ef%bc%9f" id="a">a</a>
    <script>
        var a = document.getElementById("a");
        a.onclick = function(){
            // return false
            event.preventDefault()
        }
    </script>
</body>
</html>